<?php

declare(strict_types=1);

/**
 * Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 *
 * @see https://github.com/guanguans/dcat-login-captcha
 */

namespace Guanguans\DcatLoginCaptcha\Http\Controllers;

use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use function Guanguans\DcatLoginCaptcha\Support\login_captcha_content;

class CaptchaController extends Controller
{
    public function __invoke(): Response
    {
        return response(login_captcha_content());
    }
}
